<!DOCTYPE html>
<html>
<!-- head -->
{include file="common/page/head"}
<body>
<!---------------- 添加管理员 ------------------->

<!-- 页头 -->
{include file="common/page/header"}
<!-- 主体 -->
<div class="content container-fluid{if $leftBarScale eq '1'} scale{/if}">
    <div class="row">
        <div class="col-md-2 left-section">
            <!-- 左导航菜单 -->
            {include file="common/page/menu"}

        </div>
        <div class="col-md-10 right-section">
            <!--内容区域-->
            <h3><i class="icon iconfont">{$Think.session.currentMenu.icon}</i>添加管理员</h3>
            <div class="inner-section row">
                <div class="items add-div">
                    <form id="myForm" action="#" method="post" enctype="multipart/form-data">
                        <div class="item table-responsive">
                            <table class="table table-striped table-hover table-bordered table-base">
                                <tbody>
                                    <tr>
                                        <td>账号<label class="must-tag">*</label></td>
                                        <td>
                                            <input type="text" name="account" id="account">
                                        </td>
                                        <td></td>
                                    </tr>
                                    <tr>
                                        <td>名称<label class="must-tag">&nbsp;&nbsp;</label></td>
                                        <td>
                                            <input type="text" name="admin_name" id="admin_name">
                                        </td>
                                        <td></td>
                                    </tr>

                                    <tr>
                                        <td>密码<label class="must-tag">*</label></td>
                                        <td>
                                            <input type="password" name="password" id="password">
                                        </td>
                                        <td></td>
                                    </tr>
                                    <tr>
                                        <td>再输一次<label class="must-tag">*</label></td>
                                        <td>
                                            <input type="password" name="confirmPwd" id="confirmPwd">
                                        </td>
                                        <td></td>
                                    </tr>

                                    <tr>
                                        <td>邮箱<label class="must-tag">&nbsp;</label></td>
                                        <td>
                                            <input type="text"  name="email" id="email">
                                        </td>
                                        <td></td>
                                    </tr>
                                     <tr  class="hidden">
                                        <td>角色分组<label class="must-tag">&nbsp;</label></td>
                                        <td>
                                            <select name="group_id" id="group_id">
                                                <option value="">--请选择--</option>
                                                <option value="0">超级管理员</option>
                                                
                                                {foreach $group as $item}
                                                <option value="{$item.id}">{$item.title}</option>
                                                {/foreach}
                                            </select>
                                            <input type="hidden" name="group_name">
                                        </td>
                                        <td></td>
                                    </tr>
                                    <tr>
                                        <td>
                                        </td>
                                        <td>
                                            <a class="btn btn-primary submit">提交</a>
                                            <a href="javascript:window.history.go(-1);" class="btn btn-default">返回</a>
                                        </td>
                                        <td></td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

<!-- 页脚 -->
{include file="common/page/footer"}

<!-- jsfiles -->
{include file="common/page/jsfiles"}
<script type="text/javascript" src="../../../application/admin/view/Admin/addAdmin/addAdmin.js"></script>
</body>
</html>